﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlueCMS.Core.Data.Query.Clauses
{
    public class UnionClause : IUnionClause
    {
        public List<SelectQuery> Queries { get; private set; }

        public UnionClause()
        {
            Queries = new List<SelectQuery>();
        }

        public IUnionClause Query(SelectQuery query)
        {
            Queries.Add(query);
            return this;
        }
    }
}
